package com.wzy.chain_responsibility.demo3.handle;

import com.wzy.chain_responsibility.demo1.OrderContext;
import com.wzy.chain_responsibility.demo3.AbstractOrderHandle;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @Author: wzy
 * @Date: 2022/10/08/19:20
 * @Description:
 */
@Order(1)
@Component
public class RepeatOrderHandle3 extends AbstractOrderHandle {

    @Override
    public OrderContext handle(OrderContext context) {
        System.out.println("通过seqId，检查客户是否重复下单");
        return context;
    }
}
